package com.huatai.datadevelop.utils;


import com.huatai.datadevelop.constant.RedisConstant;

/**
 * Redis所有Keys
 *
 * @author hecaiy
 */
public class RedisKeys {

    public static String getSysConfigKey(String key){
        return "sys:config:" + key;
    }

    /**
     * 实时请求数据key
     * @param key
     * @return
     */
    public static String getRealApiKey(String key) {
        return RedisConstant.APIREALKEY + key;
    }

    /**
     * 实时数据值转换key
     * @param realApiId
     * @return
     */
    public static String getRealApiConversionKey(String realApiId){
        return RedisConstant.APIREALCONVERSIONKEY + "conver" + realApiId;
    }
}
